package com.oneonefive.educationsystem.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;


@TableName(value = "arrange")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Arrange implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer trId;

    private String labId;

    private Integer weekday;

    @TableField(exist = false)
    private TeacherRequest teacherRequest;

    @TableField(exist = false)
    private Lab lab;

    @TableField(exist = false)
    private User user;

    @TableField(exist = false)
    private Student student;
}